package ru.spb.osll.myfit.client.service;


import com.google.gwt.user.client.rpc.AsyncCallback;
import ru.spb.osll.myfit.common.Suite;
import ru.spb.osll.myfit.common.util.Pair;

import java.util.List;

public interface SuiteServiceAsync {
  void getSuite(String id, AsyncCallback<Suite> callback);

  void saveSuite(Suite suite, AsyncCallback<Void> async);

  void getSuitePages(Suite suite, AsyncCallback<List<String>> async);

  void getSuites(String path, AsyncCallback<List<Pair<String, Boolean>>> async);
}
